package com.docchatlink.dto.v2;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 文档分块内容获取返回
 *
 * @author ydwang16
 * @version 2023/09/06 14:11
 **/
@Data
public class ChunksResp {

    private List<DataVo> data;

    @Data
    public static class DataVo {

        private String id;

        private String question;

        private String answer;
        /**
         * 文件类型 wiki
         */
        private String dataType;
        /**
         * 分块索引
         */
        private Integer dataIndex;
        /**
         * wiki分块内容
         */
        private String content;

        private Integer pageNum;

        private Integer graphNum;

        private LocalDateTime mdData;

        private String qaMark;

        private String blocksPos;

        private Integer pageIndex;

        private String imgReference;
    }

}
